package com.rp.download.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 页面跳转controller
 */
@Controller
public class PageController {

    /**
     * 访问index请求跳转到info.html页面
     *
     * @param model
     * @return
     */
    @GetMapping("/index")
    public String test(Model model) {
        return "info";
    }
}
